package com.liang.blog.enmus;

import lombok.Getter;
import lombok.Setter;

public enum ResultCodeEnum {
    SUCCESS(200),
    NO_LOGIN(-1),
    FAIL(-2),
    PARAM_INVAILD(-3),
    NO_RESOURCES(-4),
    WORLD_BANNED(-5)

    ;
    @Getter
    int code;

    ResultCodeEnum(int code) {
        this.code = code;
    }
}
